package com.ccb.jyzx.expand.tiantouonline.service.impl;

import com.ccb.jyzx.expand.tiantouonline.bean.DictTag;
import com.ccb.jyzx.expand.tiantouonline.dao.DictTagDao;
import com.ccb.jyzx.expand.tiantouonline.service.DictTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @projectName: extend
 * @author: jianghaolin
 * @date: 2019/11/21
 * @version: 1.0
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class DictTagServiceImpl implements DictTagService {

    @Autowired
    private DictTagDao dictTagDao;

    @Override
    public List<DictTag> findAllByLab(String labCode) {
        return dictTagDao.getAllByLab(labCode);
    }
}
